import { d as defineEventHandler, g as getQuery } from '../../nitro/nitro.mjs';
import 'node:http';
import 'node:https';
import 'node:events';
import 'node:buffer';
import 'node:fs';
import 'node:path';
import 'node:crypto';
import 'node:url';

const health_get = defineEventHandler(async (event) => {
  const id = getQuery(event);
  console.log(id);
  return {
    status: "success",
    data: id,
    timestamp: /* @__PURE__ */ new Date()
  };
});

export { health_get as default };
//# sourceMappingURL=health.get.mjs.map
